package org.jeecg.modules.report.hotel.entity;


import lombok.Data;

import java.io.Serializable;

/**
 * 房间统计
 */
@Data
public class BedReport implements Serializable {

    /*类别名称*/
    private String name;
    /*空床位数量*/
    private Integer nullBedNum = 0;
    /*已住床位数量*/
    private Integer occupancyBedNum = 0;
    /*总床位数量*/
    private Integer totalBedNum = 0;
    /**入住率*/
    private String occupancyRate = (double)occupancyBedNum/(double)totalBedNum+"%";
    /* 查询类别维度*/
    private String dimension;


   /* public void setOccupancyRate(String occupancyRate) {
        this.occupancyRate = (double)this.occupancyBedNum/(double)this.totalBedNum+"%";
    }*/
   /* public BedReport(Integer occupancyBedNum,Integer totalBedNum){
        this.occupancyRate = (double)this.occupancyBedNum/(double)this.totalBedNum+"%";
    }*/
}
